package com.qikecn.update;

import java.io.Serializable;

/**
 * 新版本检测
 * @author wangst
 * @version 2014年8月24日
 */
public class VersionBean implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -4264715652670441938L;
	/**
	 * 返回结果码
	 */
	private int ret = -99;
	/**
	 * 结果描述
	 */
	private String msg;
	/**
	 * 最新客户端版本号
	 */
	private int versionCode;
	/**
	 * 最新版本更新提示语
	 */
	private String versionMsg;
	/**
	 * 最新版本下载地址
	 */
	private String downloadUrl;

	/**
	 * 强制升级的版本号，小于等于该版本号的app将强制升级
	 */
	private int forceUpVersionCode = -1;

	/**
	 * 更新文件大小
	 */
	private long fileSize = -1L;

	public int getRet() {
		return ret;
	}

	public void setRet(int ret) {
		this.ret = ret;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getVersionCode() {
		return versionCode;
	}

	public void setVersionCode(int versionCode) {
		this.versionCode = versionCode;
	}

	public String getVersionMsg() {
		return versionMsg;
	}

	public void setVersionMsg(String versionMsg) {
		this.versionMsg = versionMsg;
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

	public int getForceUpVersionCode() {
		return forceUpVersionCode;
	}

	public void setForceUpVersionCode(int forceUpVersionCode) {
		this.forceUpVersionCode = forceUpVersionCode;
	}

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

}
